﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using TaiLieu;
public partial class TaiLieu_download : System.Web.UI.UserControl
{

    protected void Page_Load(object sender, EventArgs e)
    {
        TaiLieu();
    }
    protected void LoadControlCenter(string path)
    {
        this.pnContext.Controls.Clear();
        this.pnContext.Controls.Add(LoadControl(path));
    }
    public void TaiLieu()
    {
        switch (ConvertType.ToString(QueryHelper.Get_Query(Request).Length))
        {
            case "3":
                LoadControlCenter("TaiLieu_downloadL.ascx");
                break;
            default:
                LoadControlCenter("DownLoadNhieuNhat.ascx");
                break;
        }
        //TaiLieu_downloadDB.GetChildren(true,ConvertType.ToInt( QueryHelper.Get_Value_TheEndOfQueryString(Request)), QueryHelper.Get_Domain_1_maHoa(Request))
        //     LoadControlCenter("TaiLieu/TaiLieu_NoiDung.ascx");


    }
}
